// 版权归 瞄你个汪 所有。使用本代码应遵守相关法律法规和Apache 2.0开源许可要求。
package top.geeke.toolkit.adminArea;

import top.geeke.toolkit.eunm.Description;

/**
 * <p>
 *  区域类型枚举
 * </p>
 * @author 瞄你个汪
 * @since 2024/5/26 20:42
 */
@Description("区域类型枚举")
public enum AreaTypeEnum {
    NONE(0, ""),
    @Description("省级")
    LEVEL_1(1, "shengji"),
    @Description("地级(市)")
    LEVEL_2(2, "diji"),
    @Description("县级(区)")
    LEVEL_3(3, "xianji");

    public final int value;

    public final String name;

    AreaTypeEnum(int value, String name) {
        this.value = value;
        this.name = name;
    }

    @Override
    public String toString() {
        return this.value + "-" + this.name;
    }
}
